package com.cypher.encryptionanddecryption.util;

import java.text.SimpleDateFormat;

/**
 * 日期格式化工具类
 */
public class SimpleDateFormatUtils {
    public static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
    public static final SimpleDateFormat timeFormat = new SimpleDateFormat("HH:mm");
    public static final SimpleDateFormat datetimeFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
    public static final SimpleDateFormat format = new SimpleDateFormat("yyMMddHHmmss");
    public static final SimpleDateFormat yearFormat = new SimpleDateFormat("yyyy");
    public static final SimpleDateFormat monthFormat = new SimpleDateFormat("yyyy-MM");
}
